package com.im.project.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 修改用户信息参数
 *
 * @author yunZhouJiaDi
 */
@Data
@Accessors(chain = true)
public class UpdateUserDto {

    @ApiModelProperty("用户名称")
    @NotEmpty(message = "用户名称不能为空")
    private String username;

    @ApiModelProperty("用户头像")
    private String icon;

    @ApiModelProperty("用户性别")
    private Integer sex;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("添加类型")
    private Integer joinType;

    @ApiModelProperty("地区名称")
    private String areaName;

}
